<template>
	<view class="con">
		<view class="flex con mt30">
			<image :src="avatar" class="ra10 wh100-100"></image>
			<view class="ml10">
				 {{name}}
			</view>
		</view>
		<uni-list class="mt50">
			<uni-list-item clickable @click="beizhu" showArrow  title="备注" />
		</uni-list>
		
		<button type="primary" class="mt50">发信息</button>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				avatar:"",
				name:"",
				tuid:""
			}
		},
		onLoad(option) {
			this.avatar = option.avatar
			this.name = option.name
			
			// this.info = JSON.parse(option.info)
		},
		methods: {
			beizhu(){
				console.log(555)
				uni.showModal({
					editable:true,
					placeholderText:"输入备注",
					title: '提示',
					success: (res)=> {
						if (res.confirm) {
							console.log('用户点击确定',res);
							if(res.content){
								
							}
						}
					}
				});
			}
		}
	}
</script>

<style>

</style>
